import { http } from "@/uni-sub-base/service/request.js"
let serviceName = "Store/"
import { getBaseUrls } from "@/utils/appUrl.js"
//获取生态圈门店分类
export function GetPurchaseStoreCategoryTree() {
    return http.get({
        url: getBaseUrls().baseUrlSupplier + serviceName + "GetPurchaseStoreCategoryTree",
    })
}
//获取生态圈门店分页列表
export function GetPurchaseStorePage(data) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "GetPurchaseStorePage",
        data,
    })
}
//关注、取消门店
export function AddStoreToFavorite(data) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "AddStoreToFavorite",
        data,
    })
}
//获取门店详情
export function GetStoreInfo(data) {
    return http.post({
        url: getBaseUrls().baseUrlSupplier + serviceName + "GetStoreInfo",
        data,
    })
}
